import React from 'react'
import { FormattedMessage } from 'react-intl'

const OnlineCodingQuiz = ({formItemLayout, FormItem, quiz}) => {
  return (
    <div>
      <FormItem {...formItemLayout} label={<FormattedMessage id='技术栈' />}>
        <span>{quiz.stack}</span>
      </FormItem>
      <FormItem {...formItemLayout} label={<FormattedMessage id='仓库地址' />}>
        <span>{quiz.definitionRepo}</span>
      </FormItem>
    </div>)
}

export default OnlineCodingQuiz
